package com.asion.vmovie.beans;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by asion on 16-10-17.
 */

public class DetialsBean {


    /**
     * postid : 50182
     * title : 控诉教育问题澎湃演讲《被告人：学校》
     * pid : 1
     * app_fu_title :
     * is_xpc : 0
     * is_promote : 0
     * is_xpc_zp : 0
     * is_xpc_cp : 0
     * is_xpc_fx : 0
     * is_album : 0
     * tags :
     * recent_hot : 0
     * discussion : 0
     * image : http://cs.vmoiver.com/Uploads/cover/2016-10-13/57fef97c27a25_cut.jpeg
     * rating : 7.7
     * duration : 360
     * publish_time : 1476201660
     * like_num : 672
     * share_num : 1282
     * cates : [{"cateid":"6","catename":"创意"}]
     * request_url : http://app.vmoiver.com/50182?qingapp=app_new
     */

    @SerializedName("data")
    private List<DataBean> data;

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("postid")
        private String postid;
        @SerializedName("title")
        private String title;
        @SerializedName("image")
        private String image;
        @SerializedName("rating")
        private String rating;
        @SerializedName("duration")
        private String duration;
        @SerializedName("publish_time")
        private String publish_time;
        @SerializedName("like_num")
        private String like_num;
        @SerializedName("share_num")
        private String share_num;
        @SerializedName("request_url")
        private String request_url;
        /**
         * cateid : 6
         * catename : 创意
         */

        private List<CatesBean> cates;

        public String getPostid() {
            return postid;
        }

        public void setPostid(String postid) {
            this.postid = postid;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getRating() {
            return rating;
        }

        public void setRating(String rating) {
            this.rating = rating;
        }

        public String getDuration() {
            return duration;
        }

        public void setDuration(String duration) {
            this.duration = duration;
        }

        public String getPublish_time() {
            return publish_time;
        }

        public void setPublish_time(String publish_time) {
            this.publish_time = publish_time;
        }

        public String getLike_num() {
            return like_num;
        }

        public void setLike_num(String like_num) {
            this.like_num = like_num;
        }

        public String getShare_num() {
            return share_num;
        }

        public void setShare_num(String share_num) {
            this.share_num = share_num;
        }

        public String getRequest_url() {
            return request_url;
        }

        public void setRequest_url(String request_url) {
            this.request_url = request_url;
        }

        public List<CatesBean> getCates() {
            return cates;
        }

        public void setCates(List<CatesBean> cates) {
            this.cates = cates;
        }

        public static class CatesBean {
            @SerializedName("cateid")
            private String cateid;
            @SerializedName("catename")
            private String catename;

            public String getCateid() {
                return cateid;
            }

            public void setCateid(String cateid) {
                this.cateid = cateid;
            }

            public String getCatename() {
                return catename;
            }

            public void setCatename(String catename) {
                this.catename = catename;
            }
        }
    }
}
